package com.jiazhong.mingxing.boot.boot02.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jiazhong.mingxing.boot.boot02.bean.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface StudentMapper extends BaseMapper<Student> {

    @Select("select * from student where gender='男' and state=0")
    List<Student> find1();

    List<Student> find2();
}
